package com.zbxx.container.websocket.socket;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;


/**
 * @author 万仁杰
 * @date 2019/05/23
 */
@Configuration
public class SocketConfig {


    /**
     * 将定义的 socket端点导出
     * @return
     */
    @Bean
    ServerEndpointExporter serverEndpointExporter(){
        return new ServerEndpointExporter();
    }

}
